package com.yyk.yykywd.bean;

import java.util.List;

/**
 *接口2：获取负责人列表（whm）
 */

public class WorkBusinameInfo {

    @Override
    public String toString() {
        return "WorkBusinameInfo{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":4,"name":"李大牛","pid":2,"phone":"18519708001","img":"/upload/doctor/15398348487421.jpg","did":5,"aid":"1,2","topid":1}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", pid=" + pid +
                    ", phone='" + phone + '\'' +
                    ", img='" + img + '\'' +
                    ", did=" + did +
                    ", aid='" + aid + '\'' +
                    ", topid=" + topid +
                    '}';
        }

        /**
         * id : 4
         * name : 李大牛
         * pid : 2
         * phone : 18519708001
         * img : /upload/doctor/15398348487421.jpg
         * did : 5
         * aid : 1,2
         * topid : 1
         */


        private int id;
        private String name;
        private int pid;
        private String phone;
        private String img;
        private int did;
        private String aid;
        private int topid;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getDid() {
            return did;
        }

        public void setDid(int did) {
            this.did = did;
        }

        public String getAid() {
            return aid;
        }

        public void setAid(String aid) {
            this.aid = aid;
        }

        public int getTopid() {
            return topid;
        }

        public void setTopid(int topid) {
            this.topid = topid;
        }
    }
}
